package mini.expr;

import java.util.HashMap;
import java.util.LinkedList;

import mini.Proc;


public class Number extends Expr {

    private Integer value;

    public Number(int n) {
        value = new Integer(n);
    }

    public Number(Integer n) {
        value = n;
    }

    public Element eval(HashMap<String, Element> nametable, HashMap<String, Proc> functiontable, LinkedList var) {
        return new Element(value);
    }
}